package com.jdz.noise.controller;

import com.jdz.noise.service.SphereService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SphereController {
    @Autowired
    private SphereService sphereService;
    @GetMapping("/spheretest/{id}")
    public String sphereTest(@PathVariable("id") Integer id){
        this.sphereService.addMap_3D_Noise(id);
        return "successful";
    }
}
